package com.lxw.weather.model;

/**
 * 预警信息列表
 */
class AlarmList {
    private String signalType;   // 预警类型
    private String signalLevel;  // 预警级别
    private String issueContent; // 预警内容
    private String issueTime;    // 发布时间
    private String city;         // 城市
    private String district;     // 地区
    private String province;     // 省份

    // 构造方法
    public AlarmList() {
    }

    public AlarmList(String signalType, String signalLevel, String issueContent,
                     String issueTime, String city, String district, String province) {
        this.signalType = signalType;
        this.signalLevel = signalLevel;
        this.issueContent = issueContent;
        this.issueTime = issueTime;
        this.city = city;
        this.district = district;
        this.province = province;
    }

    // Getter和Setter方法
    public String getSignalType() {
        return signalType;
    }

    public void setSignalType(String signalType) {
        this.signalType = signalType;
    }

    public String getSignalLevel() {
        return signalLevel;
    }

    public void setSignalLevel(String signalLevel) {
        this.signalLevel = signalLevel;
    }

    public String getIssueContent() {
        return issueContent;
    }

    public void setIssueContent(String issueContent) {
        this.issueContent = issueContent;
    }

    public String getIssueTime() {
        return issueTime;
    }

    public void setIssueTime(String issueTime) {
        this.issueTime = issueTime;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getDistrict() {
        return district;
    }

    public void setDistrict(String district) {
        this.district = district;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    @Override
    public String toString() {
        return "AlarmList{" +
                "signalType='" + signalType + '\'' +
                ", signalLevel='" + signalLevel + '\'' +
                ", issueContent='" + issueContent + '\'' +
                ", issueTime='" + issueTime + '\'' +
                ", city='" + city + '\'' +
                ", district='" + district + '\'' +
                ", province='" + province + '\'' +
                '}';
    }
}
